package www.ld.com.domain.department.pojo;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import www.ld.com.dictionary.UseStatusEnum;
import www.ld.com.domain.pojo.BasePO;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ToString
@TableName("sys_department")
public class DepartmentPO extends BasePO {
    private String name;
    private int sort;
    @EnumValue
    private UseStatusEnum status;
    private Long parentId;
    private String liaison;
    private String phone;
    private String email;
}
